package com.zhny.sensor.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "to_market")
public class ToMarket {
    @Id
    private String id; //去向市场编号

    private String name;
    private String province; //省
    private String city; //市
    private String district; //区
    private String addr; //详细地址
    private String markCode; //去向市场二维码
    private String stallName;//去向市场档口名称
    private String stallCode; //去向市场档口二维码
    private String marketLongitude;//经度
    private String marketLatitude;//纬度

    private java.util.Date createDate;

    private String markCodeAnalysis;

    private String stallCodeAnalysis;

    private Integer state; //状态（0已删1正常2发布待审核3删除待审核）

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getMarkCode() {
        return markCode;
    }

    public void setMarkCode(String markCode) {
        this.markCode = markCode;
    }

    public String getStallName() {
        return stallName;
    }

    public void setStallName(String stallName) {
        this.stallName = stallName;
    }

    public String getStallCode() {
        return stallCode;
    }

    public void setStallCode(String stallCode) {
        this.stallCode = stallCode;
    }

    public String getMarketLongitude() {
        return marketLongitude;
    }

    public void setMarketLongitude(String marketLongitude) {
        this.marketLongitude = marketLongitude;
    }

    public String getMarketLatitude() {
        return marketLatitude;
    }

    public void setMarketLatitude(String marketLatitude) {
        this.marketLatitude = marketLatitude;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getMarkCodeAnalysis() {
        return markCodeAnalysis;
    }

    public void setMarkCodeAnalysis(String markCodeAnalysis) {
        this.markCodeAnalysis = markCodeAnalysis;
    }

    public String getStallCodeAnalysis() {
        return stallCodeAnalysis;
    }

    public void setStallCodeAnalysis(String stallCodeAnalysis) {
        this.stallCodeAnalysis = stallCodeAnalysis;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}